
<%@ page import="org.bjou.ShiroUser" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="pertho">
		<g:set var="entityName" value="${message(code: 'shiroUser.label', default: 'ShiroUser')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
<div class="container">
    <div class="row">
      <div class="twelve columns">
        <div class="box_c">
          <div class="box_c_heading cf">
            <p><g:message code="default.show.label" args="[entityName]" /></p>
          </div>
          <div class="box_c_content">
            <!-- start -->
            
		<div id="show-shiroUser" class="content scaffold-show" role="main">
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list shiroUser">
			
				<g:if test="${shiroUserInstance?.username}">
				<li class="fieldcontain">
					<span id="username-label" class="property-label">用户名</span>
					
						<span class="property-value" aria-labelledby="username-label">${shiroUserInstance.username}</span>
					
				</li>
				</g:if>
			
				
			
				
			
				<g:if test="${shiroUserInstance?.rolename}">
				<li class="fieldcontain">
					<span id="roles-label" class="property-label">角色</span>
					
					<span class="property-value" aria-labelledby="username-label">${shiroUserInstance.rolename}</span>	
					
				</li>
				</g:if>
                          
                          
                           <g:if test="${departmentInstance}">   

                             <li class="fieldcontain">
					<span id="roles-label" class="property-label">所属系部</span>
					
					<span class="property-value" aria-labelledby="username-label"> ${departmentInstance.departmentName}</span>	
					
				</li>
 
</div>  
  </g:if>
                                  
                                  
  <g:if test="${branchInstance}">   

      <li class="fieldcontain">
					<span id="roles-label" class="property-label">所属分校</span>
					
					<span class="property-value" aria-labelledby="username-label">  ${branchInstance.branchName}</span>	
					
				</li>
 
  </g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${shiroUserInstance?.id}" />
					<g:link class="gh_button" action="edit" id="${shiroUserInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="gh_button icon danger" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
                                         <g:link class="gh_button list" action="list">返回列表</g:link>
                                </fieldset>
			</g:form>
		<!-- end -->
            </div>
          </div>
        </div>
      </div>
    </div>
	</body>
</html>
